package com.chilly.static1;

/**
 * Created by Chilly Cui on 2020/10/9.
 */
public class StaticDemo {

    public static void main(String[] args) {
        Person p1 = new Person();
        Person p2 = new Person();

//        StaticBean staticBean = new StaticBean("1");
//        StaticBean staticBean2 = new StaticBean("2");
//        StaticBean staticBean3 = new StaticBean("3");
//        StaticBean staticBean4 = new StaticBean("4");
//        StaticBean.age = 33;
//        System.out.println(staticBean + " " + staticBean2 + " " + staticBean3 + " " + staticBean4);
//        //StaticBean{name=1,age=33} StaticBean{name=2,age=33} StaticBean{name=3,age=33} StaticBean{name=4,age=33}
//        StaticBean.sayHello();//Hello i am java
    }
}
